Analog amplifier

Short description

This SFB amplifies an analog input value and returns it at the analog output.

Connections

Description

Input Ax

Input Ax is one of the following analog signals:

  • AI1 to AI8 (*)

  • AM1 to AM6 (if 0BA6) or AM1 to AM16 (if 0BA7)

  • AN1 to AN32 (if 0BA7)

  • AQ1 and AQ2

  • SAQ1 to SAQ16 (if 0BA7)

  • The block number of a function with analog output

Parameter

A: Gain

Range of values: -10.00 to +10.00

B: Zero offset
Range of values: -10,000 to +10,000

p: Number of decimals
Possible settings: 0, 1, 2, 3

Output AQ

Value range for AQ: -32768 to +32767

* AI1 to AI8: 0 to 10 V corresponds with 0 to 1000 (internal value).

0BA4:

A: Gain
Range of values: 0.00 to 10.00

Parameter p (number of decimals)

Parameter p applies only to the display of Ax and Ay values in a message text.

Parameter p does not apply to the comparison of On and Off values. (The compare function ignores the decimal point.)

Description of the function

The function reads the value of an analog signal at the analog input Ax.

This value is multiplied by the gain parameter A. Parameter B (offset) is added to the product, as follows:

(Ax * gain) + offset = Actual value Ax.

The actual value Ax is output at AQ.

Particular characteristics to be noted when configuring

For help on analog block parameters, refer to the Analog value processing section.

Analog output

If you connect this special function to a real analog output, then note that the analog output can only process values from 0 to 1000. To do this, connect an additional amplifier between the analog output of the special function and the real analog output. With this amplifier you standardize the output range of the special function to a value range of 0 to 1000.

Example: additional amplifier behind an analog multiplexer.

Special Functions Overview